package qeb.handheldmedical.patient.merge;

import java.io.Serializable;
import java.util.List;

import qeb.handheldmedical.model.BaseModel;

public class MedicineC extends BaseModel implements Serializable {


    /**
     * key : YF 18223
     * value : [{"hzcode":"10000914","hzname":"王根方","ywId":"12732","ywMc":"注射用比阿培南","ywbqtm":"YF 18223","ywgg":"0.3g*1瓶","ywpzId":"3230222","ywpzrybh":"1044","ywpzrymc":"2019/1/24 19:17:02","ywpzsj":"张晓玲","ywpzzt":"1"},{"hzcode":"10000914","hzname":"王根方","ywId":"13608","ywMc":"*0.9%氯化钠注射液","ywbqtm":"YF 18223","ywgg":"100ml*1袋","ywpzId":"3230220","ywpzrybh":"1044","ywpzrymc":"2019/1/24 19:17:02","ywpzsj":"张晓玲","ywpzzt":"1"}]
     */

    private String key;
    private List<MedicineDetail> value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<MedicineDetail> getValue() {
        return value;
    }

    public void setValue(List<MedicineDetail> value) {
        this.value = value;
    }

    public static class MedicineDetail {
        /**
         * hzcode : 10000914
         * hzname : 王根方
         * ywId : 12732
         * ywMc : 注射用比阿培南
         * ywbqtm : YF 18223
         * ywgg : 0.3g*1瓶
         * ywpzId : 3230222
         * ywpzrybh : 1044
         * ywpzrymc : 张晓玲
         * ywpzsj : 2019/1/24 19:17:02
         * ywpzzt : 1
         */

        private String hzcode;
        private String hzname;
        private String ywId;
        private String ywMc;
        private String ywbqtm;
        private String ywgg;
        private String ywpzId;
        private String ywpzrybh;
        private String ywpzrymc;
        private String ywpzsj;
        private String ywpzzt;
        private String dose;     //药品单次执行剂量
        private String dose_unit;//药品单次执行单位
        private String frequency; //医嘱执行频率
        private String bednum; //床号

        public String getBednum() {
            return bednum;
        }

        public void setBednum(String bednum) {
            this.bednum = bednum;
        }

        public String getDose() {
            return dose;
        }

        public void setDose(String dose) {
            this.dose = dose;
        }

        public String getDose_unit() {
            return dose_unit;
        }

        public void setDose_unit(String dose_unit) {
            this.dose_unit = dose_unit;
        }

        public String getFrequency() {
            return frequency;
        }

        public void setFrequency(String frequency) {
            this.frequency = frequency;
        }

        public String getHzcode() {
            return hzcode;
        }

        public void setHzcode(String hzcode) {
            this.hzcode = hzcode;
        }

        public String getHzname() {
            return hzname;
        }

        public void setHzname(String hzname) {
            this.hzname = hzname;
        }

        public String getYwId() {
            return ywId;
        }

        public void setYwId(String ywId) {
            this.ywId = ywId;
        }

        public String getYwMc() {
            return ywMc;
        }

        public void setYwMc(String ywMc) {
            this.ywMc = ywMc;
        }

        public String getYwbqtm() {
            return ywbqtm;
        }

        public void setYwbqtm(String ywbqtm) {
            this.ywbqtm = ywbqtm;
        }

        public String getYwgg() {
            return ywgg;
        }

        public void setYwgg(String ywgg) {
            this.ywgg = ywgg;
        }

        public String getYwpzId() {
            return ywpzId;
        }

        public void setYwpzId(String ywpzId) {
            this.ywpzId = ywpzId;
        }

        public String getYwpzrybh() {
            return ywpzrybh;
        }

        public void setYwpzrybh(String ywpzrybh) {
            this.ywpzrybh = ywpzrybh;
        }

        public String getYwpzrymc() {
            return ywpzrymc;
        }

        public void setYwpzrymc(String ywpzrymc) {
            this.ywpzrymc = ywpzrymc;
        }

        public String getYwpzsj() {
            return ywpzsj;
        }

        public void setYwpzsj(String ywpzsj) {
            this.ywpzsj = ywpzsj;
        }

        public String getYwpzzt() {
            return ywpzzt;
        }

        public void setYwpzzt(String ywpzzt) {
            this.ywpzzt = ywpzzt;
        }

        @Override
        public String toString() {
            return "MedicineDetail{" +
                    "hzname='" + hzname + '\'' +
                    ", ywMc='" + ywMc + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MedicineC{" +
                "value=" + value +
                '}';
    }
}
